<?php
/*
Template Name: listing
  Author : Najeeb
*/

get_header();
?>
<div id="content">
<div id="content-data">

<div id="property-added" style="color:green; display:none">
<h1>Your listing is added successfully, now you will be redirectly paypal link (I am kidding :)</h1></div>

<div id="property-adding">
<h1>List your Property </h1>
<form action="<?= PROCESSOR?>" method="post" id="frm-listing">
<input type="hidden" name="act" value="list-new-property" />
<input type="hidden" name="images_list" id="images_list" />

<table width="600" border="0">
  <tr>
    <td>Detail</td>
    <td><textarea name="detail" cols="50" rows="4"></textarea></td>
  </tr>
  <tr>
    <td>Photos</td>
    <td>
    <div id="file-uploader">		
		<noscript>			
			<p>Please enable JavaScript to use file uploader.</p>
			<!-- or put a simple form for upload here -->
       	</noscript>         
	</div>
   <!-- <style>
body{text-align:center }
#progressbar{width:300px; margin:20px auto; }
.ui-progressbar-value{background-image:url(pbar-ani.gif); }
</style>-->
    <div id="nm_progressbar"><div id="runner"></div></div>
    <div id="progress"><ul></ul></div>
    <div id="fileNames">
    	<ul>
        	<!--<li><img src="<?php bloginfo('template_url'); ?>/images/loading-image.gif" alt="loading" /><br />
            <span class="imgName">Imane1</span></li>
            <li><img src="<?php bloginfo('template_url'); ?>/images/loading-image.gif" alt="loading" /></li>
            <li><img src="<?php bloginfo('template_url'); ?>/images/loading-image.gif" alt="loading" /></li>-->
        </ul>
    </div>
    </td>
  </tr>
</table>

<h2>Property Information</h2>
<table width="600" border="0">
  <tr>
    <td width="106">Price (per week)</td>
    <td width="181"><input type="text" name="price" id="price" /></td>
    <td width="10">&nbsp;</td>
    <td width="139">Postcode</td>
    <td width="142"><input type="text" name="postcode" id="postcode" /></td>
  </tr>
  <tr>
    <td>Rooms</td>
    <td><select name="rooms2" id="rooms2">
      <option>2</option>
      <option>3</option>
      <option>4</option>
    </select></td>
    <td>&nbsp;</td>
    <td>Area</td>
    <td><input type="text" name="area" id="area" /></td>
  </tr>
  <tr>
    <td>Numbe it Sleeps</td>
    <td><select name="sleeps" id="sleeps">
      <option>2</option>
      <option>3</option>
      <option>4</option>
    </select></td>
    <td>&nbsp;</td>
    <td>Closes Tube</td>
    <td><input type="text" name="price6" id="price6" /></td>
  </tr>
  <tr>
    <td>Property</td>
    <td><select name="type" id="type">
      <option>House</option>
      <option>Mall</option>
      <option>Office</option>
    </select></td>
    <td>&nbsp;</td>
    <td>Pets</td>
    <td><select name="pets" id="pets">
      <option>Yes</option>
      <option>No</option>
    </select></td>
  </tr>
  <tr>
    <td>Smoking?</td>
    <td><select name="smoking" id="smoking">
      <option>Yes</option>
      <option>No</option>
    </select></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="600" border="0">
  <tr>
    <td width="103">Deposit Info</td>
    <td width="487"><textarea name="deposit_info" id="deposit_info" rows="4" cols="50"></textarea></td>
  </tr>
</table>

<h1>Profile Information</h1>
<table width="600" border="0">
  <tr>
    <td width="102">Firstname</td>
    <td width="488"><input type="text" name="firstname" id="firstname" /></td>
  </tr>
  <tr>
    <td>Surname</td>
    <td><input type="text" name="surname" id="surname" /></td>
  </tr>
  <tr>
    <td>Telephone</td>
    <td><input type="text" name="telephone" id="telephone" /></td>
  </tr>
  <tr>
    <td>Email</td>
    <td><input type="text" name="email1" id="email1" /></td>
  </tr>
  <tr>
    <td>Confirm Email</td>
    <td><input type="text" name="email2" id="email2" /></td>
  </tr>
</table>


<br />
<input type="submit" value="Save" onclick="doSubmit('frm-listing', '<?= LISTING?>')" />
</form>
</div>	<!-- listing add -->

</div>
</div>

<?php
get_header();
?>